<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script src="js/check.js" type="text/javascript" charset="utf-8"></script>
    <style>
        @font-face {
            font-family:"abc";
            src: url("fonts/iconfont.eot");
            src: url("fonts/iconfont.ttf");
            src: url("fonts/iconfont.svg");
            src: url("fonts/iconfont.woff");
            src: url("fonts/iconfont.woff2");
        }
        form{
            height: 300px;
            width: 400px;
            background: lightgreen;
            margin: 0px auto;
        }
        ul{
            padding-top: 30px;
            list-style: none;
        }
        ul li{
            margin-top: 20px;position: relative;
        }
        ul li input{
            width: 300px;text-indent: 40px;
            line-height: 30px;
        }
        ul li #user{
            width: 34px;height: 34px;background: #dddddd;
            position: absolute;top: 1px;left: 0px;font-family: abc;
            font-size: 25px;text-align: center;line-height: 34px;
        }
        ul li #delete{
            width: 34px;height: 34px;display: none;cursor: pointer;
            position: absolute;top: 1px;right: 57px;font-family: abc;
            font-size: 20px;text-align: center;line-height: 34px;
        }
        ul li #passwordimg{
            width: 34px;height: 34px;background: #dddddd;
            position: absolute;top: 1px;left: 0px;font-family: abc;
            font-size: 20px;text-align: center;line-height: 34px;

        }
        .login{
            background:#f40;border: 1px solid#ff4400;font-size: 20px;
            border-radius: 3px;color:#fff;letter-spacing: 8px;
        }
    </style>
</head>
<body>
    <form action="" method="" >
        <ul>
            <li>
                <input type="text" id="username" placeholder="邮箱/手机">
                <span id="user">&#xe632;</span>
                <span id="delete">&#xe633;</span>
            </li>
            <li>
                <input type="password">
                 <span id="passwordimg">&#xe614;</span>
            </li>
            <li>
                <input type="submit" class="login" value="登录">
            </li>
        </ul>



    </form>

</body>
</html>